﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using FacturacionII.Utilitarios;
namespace FacturacionII.Formularios
{
    public partial class frmOperaciones : DevComponents.DotNetBar.Office2007Form
    {
        public frmOperaciones()
        {
            InitializeComponent();
        }

        private void frmOperaciones_Load(object sender, EventArgs e)
        {

        }

        private void txtRucDni_KeyUp(object sender, KeyEventArgs e)
        {
            if (rbDni.Checked == true)
            { 
            
            }

            if (rbRuc.Checked == true)
            {

            }
        }

        private void txtTotal_TextChanged(object sender, EventArgs e)
        {
            clsNumeroLetras nl = new clsNumeroLetras();
            txtMontoLetras.Text = nl.Convertir(txtTotal.Text, true);
        }
    }
}
